<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    	<meta charset="UTF-8">
    <meta id="viewport" name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />

    <title>成考首页</title>
    <!-- build:css css/school.min.css -->
    <link rel="stylesheet" type="text/css" href="/Template/mobile/new/Static/css/school.css">
    <!-- endbuild -->
</head>
<body>
    <div class="header">
    <a href="<?php echo U('Mobile/Index/index');?>" class="home">
        <img src="/Template/mobile/new/Static/images/home.png" alt="">
    </a>
    <h1>
    	<?php if(CONTROLLER_NAME == 'Adult' ): ?>成人高考
		    <?php else: ?> value2<?php endif; ?>	
    </h1>
    <a href="<?php echo U('Mobile/Index/map');?>" class="list-icon">
        <img src="/Template/mobile/new/Static/images/icon-1.png" alt="">
    </a>
</div>

    <!--顶部分类导航部分-->
<div class="nav">
    <ul>
        <li <?php if(CONTROLLER_NAME == 'Index'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Index/index');?>">首页</a></li>
        <li	<?php if(CONTROLLER_NAME == 'Adult' && (ACTION_NAME == 'ckindex' || ACTION_NAME == 'question') ): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/ckindex');?>">成考</a></li>
        <li	<?php if(CONTROLLER_NAME == ''): ?>class="active"<?php endif; ?>><a href="">函授</a></li>
        <li	<?php if(CONTROLLER_NAME == ''): ?>class="active"<?php endif; ?>><a href="">夜大</a></li>
        <li <?php if(CONTROLLER_NAME == 'Adult' && ACTION_NAME == 'school'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/school');?>">院校</a></li>
        <li <?php if(CONTROLLER_NAME == 'Adult' && ACTION_NAME == 'major'): ?>class="active"<?php endif; ?>><a href="<?php echo U('Adult/major');?>">专业</a></li>
    </ul>
</div>

    <div class="filter">
        <div><span>请选择院校所在地区</span></div>
    </div>
    <div class="filter-con">
        <ul>
        	<?php if(is_array($provinceList)): $i = 0; $__LIST__ = $provinceList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="#city-<?php echo ($key+1); ?>" type="city"><?php echo ($vo["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
    <div class="school">
        <div class="school-title">
            <h2>热门院校</h2>
        </div>
        <div class="school-con">
        	<?php if(is_array($hotSchool)): $i = 0; $__LIST__ = $hotSchool;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href='<?php echo U("article",array("id"=>$vo["id"]));?>'>
	                <img src="<?php echo ($vo["thumb"]); ?>" alt="">
	                <h4><?php echo ($vo["title"]); ?></h4>
	                <span>地区：<?php echo ($vo["name"]); ?></span>
	            </a><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
        <div class="school-more">
            <a href="javascript:;">点击查看更多</a>
        </div>
    </div>
    <div class="list">
    	<?php if(is_array($provinceList)): $i = 0; $__LIST__ = array_slice($provinceList,0,10,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="list-container" id="city-<?php echo ($key+1); ?>" >
	            <div class="list-title">
	                <h2><a href='<?php echo U("newlist",array("pid"=>$vo["id"],'type'=>1));?>'><?php echo ($vo["name"]); ?></a></h2>
	            </div>
	            <div class="list-con">
	                <ul>
	                	<?php if(is_array($vo["article"])): $i = 0; $__LIST__ = array_slice($vo["article"],0,12,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><li <?php if($vo["hot"] == 1): ?>class="hot"<?php endif; ?>
	                			><a href="<?php echo U("article",array("id"=>$vo["id"]));?>"><?php echo ($vv["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
	                </ul>
	            </div>
	            <div class="list-more">
	                <a href="javascript:;" province_id=<?php echo ($vo["id"]); ?>>点击查看更多</a>
	            </div>
       		</div><?php endforeach; endif; else: echo "" ;endif; ?>
        <!--<div class="list-container" id="city-2">
            <div class="list-title">
                <h2><a href="">北京</a></h2>
            </div>
            <div class="list-con">
                <ul>
                    <li><a href="">清华大学</a></li>
                    <li><a href="">北京大学</a></li>
                    <li><a href="">北京航空航天大学</a></li>
                    <li><a href="">中国人民大学</a></li>
                    <li><a href="">北京邮电大学</a></li>
                    <li><a href="">北京科技大学</a></li>
                    <li><a href="">北京化工大学</a></li>
                    <li><a href="">北方工业大学</a></li>
                    <li><a href="">北京交通大学</a></li>
                    <li><a href="">北京工业大学</a></li>
                    <li><a href="">北京师范大学</a></li>
                    <li><a href="">首都师范大学</a></li>
                    <li><a href="">北京外国语大学</a></li>
                    <li><a href="">对外经贸大学</a></li>
                    <li><a href="">北京语言大学</a></li>
                </ul>
            </div>
            <div class="list-more">
                <a href="javascript:;">点击查看更多</a>
            </div>
        </div>-->
    </div>
	<div class="footer">
    <ul>
        <li><a href="">登录/注册</a></li>
        <li><a href="">用户反馈</a></li>
        <li><a href="">回到顶部</a></li>
    </ul>
    <a href="" class="logo">
        <img src="/Template/mobile/new/Static/images/logo.png" />
    </a>
    <div>
        <p>Copyright© 2013-2016 All Rights Reserved</p>
        <p>硕学教育培训学校</p>
    </div>
</div>

    <!--build:js js/layout.min.js -->
    <script src="/Template/mobile/new/Static/js/layout.js"></script>
    <!-- endbuild -->
    <!--build:js js/filter.min.js -->
    <script src="/Template/mobile/new/Static/js/filter.js"></script>
    <!-- endbuild -->
    <!--build:js js/json2.min.js -->
    <script src="/Template/mobile/new/Static/js/json2.js"></script>
    <!-- endbuild -->
    <!--build:js js/school.min.js -->
    <script src="/Template/mobile/new/Static/js/school.js"></script>
    <!-- endbuild -->
</body>
</html>